﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BLL.Model
{
    public class OrderItem
    {
        #region Fields
        private int orderItemId;
        private Product product;
        private int quantity;
        private decimal totalPrice; 
        #endregion

        #region Properties

        public int OrderItemId
        {
            get { return orderItemId; }
            set { orderItemId = value; }
        }

        public Product Product
        {
            get { return product; }
            set { product = value; }
        }


        public int Quantity
        {
            get { return quantity; }
            set { quantity = value; }
        }


        public decimal TotalPrice
        {
            get { return totalPrice; }
            set { totalPrice = value; }
        } 
        #endregion
    }
}
